package com.booklove.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.booklove.domain.po.Orders;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.booklove.domain.query.OrdersQuery;
import com.booklove.domain.vo.OrdersVO;

/**
 * <p>
 * 订单列表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-09-24
 */
public interface OrdersMapper extends BaseMapper<Orders> {

    Page<OrdersVO> selectPageVO(Page<OrdersVO> page, OrdersQuery ordersQuery);

    Page<OrdersVO> selectIsDonateOrderPageVO(Page<OrdersVO> page, OrdersQuery ordersQuery);

    Page<OrdersVO> selectIsWishOrderPageVO(Page<OrdersVO> page, OrdersQuery ordersQuery);
}
